﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>直接充值订单</title>
		<script>
		$(document).ready(function(){
			$("#mobile").focus();
			$("#linksForm").validate({
				 rules: { 
					mobile: { 
	        			required: true, 
	        			maxlength:11
	    			}
				},
				success: function(label) {
					label.html("&nbsp;").addClass("checked");
		        }	
			});
			$("#payment").val('${onlinerecharge.amount}');
		});	
		
		</script>
	</head>
	<body>
		<div class="rhead">
			<div class="rpos">
				当前位置: 业务管理 - 直接充值订单 - 添加直接充值订单
			</div>
			<div class="ropt"><input type="button" value="返回" onclick="history.back()"/></div>			
			<div class="clear"></div>
		</div>
		<form action="directorderAction!update.action" method="post"
			id="linksForm">
			<input type="hidden" name="onlinerecharge.id" value="${onlinerecharge.id}"/>
			<input type="hidden"  value="${_pageNo}" name="_pageNo"  /><!-- 用于提交表单后，返回编辑前的页面 -->
			<table align="center" class="listTable3" width="90%">
				<tr>
					<td class="pn-flabel">
						订单号
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.outtradeid}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						代理人
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.user.name}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						办理号码
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.account}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						充值金额
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.amount}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						代理价格
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.price}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						充值状态
					</td>
					<td>
						<input type="text" readonly="true"  value="${onlinerecharge.state}"/>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						备注
					</td>
					<td>
						<textarea rows="5" cols="20" name="onlinerecharge.comments">${onlinerecharge.comments}</textarea>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align:center">
						<input type="submit" value=" 提 交 " />
						<input type="button" value=" 返回 " onclick="history.back()" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

